<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"/>
    <title>user</title>
    <link rel="stylesheet" th:href="@{/css/bootstrap.css}"></link>
    <script type="text/javascript" th:src="@{/js/My97DatePicker/WdatePicker.js}"></script>
    <script type="text/javascript" src="/js/My97DatePicker/lang/zh-cn.js"></script>

</head>
<script type="text/javascript">
    function display_alert()
    {
        alert("确定要提交吗")
    }
</script>
<script type="text/javascript">
    function display_alert1()
    {
        alert("确定要重置吗")
    }
</script>
<body class="container" background="/add.png">
<br/>
<div style="color: #1b6d85">
    <h1 style="margin-left: 550px" > 助理添加学生页面</h1>
</div>
<br/><br/>

<div class="with:80%" style="margin-left: 150px">
    <form class="form-horizontal" action="/zl/add" method="post">
        <div class="form-group">
            <label for="id" class="col-sm-2 control-label" >学号</label>
            <div class="col-sm-10" style="width: 300px">
                <input type="text" style="height: 30px " class="form-control" name="id" id="id" placeholder="学号"/>
            </div>
        </div>
        <div class="form-group">
            <label for="name" class="col-sm-2 control-label" >姓名</label>
            <div class="col-sm-10" style="width: 300px">
                <input type="text" style="height: 30px " class="form-control" name="name" id="name" placeholder="姓名"/>
            </div>
        </div>
        <div class="form-group">
            <label for="sex" class="col-sm-2 control-label" >性别</label>
            <div class="col-sm-10" style="width: 300px">
                <input type="text" style="height: 30px " class="form-control" name="sex" id="sex" placeholder="性别"/>
            </div>
        </div>
        <div class="form-group">
            <label for="dept" class="col-sm-2 control-label" >院系</label>
            <div class="col-sm-10" style="width: 300px">
                <input type="text" style="height: 30px " class="form-control" name="dept" id="dept" placeholder="院系"/>
            </div>
        </div>

        <div class="form-group">
            <label for="tele" class="col-sm-2 control-label" >电话</label>
            <div class="col-sm-10" style="width: 300px">
                <input type="text" style="height: 30px " class="form-control" name="tele" id="tele" placeholder="电话"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <input type="submit" value="保存" class="btn btn-info" onclick="display_alert()" />
                <input type="reset" value="重置" class="btn btn-info" onclick="display_alert1()"/>
            </div>
        </div>
    </form>
</div>
</body>
</html>
